package com.ruoyi.finance.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.finance.domain.InvoiceTypes;

/**
 * 发票种类Mapper接口
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public interface InvoiceTypesMapper extends BaseMapper<InvoiceTypes>
{
    /**
     * 查询发票种类
     *
     * @param id 发票种类主键
     * @return 发票种类
     */
    public InvoiceTypes selectInvoiceTypesById(Long id);

    /**
     * 查询发票种类列表
     *
     * @param invoiceTypes 发票种类
     * @return 发票种类集合
     */
    public List<InvoiceTypes> selectInvoiceTypesList(InvoiceTypes invoiceTypes);

    /**
     * 新增发票种类
     *
     * @param invoiceTypes 发票种类
     * @return 结果
     */
    public int insertInvoiceTypes(InvoiceTypes invoiceTypes);

    /**
     * 修改发票种类
     *
     * @param invoiceTypes 发票种类
     * @return 结果
     */
    public int updateInvoiceTypes(InvoiceTypes invoiceTypes);

    /**
     * 删除发票种类
     *
     * @param id 发票种类主键
     * @return 结果
     */
    public int deleteInvoiceTypesById(Long id);

    /**
     * 批量删除发票种类
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInvoiceTypesByIds(Long[] ids);

    List<InvoiceTypes> selselist();


}
